<div class="loading-container"><div class="loader"></div></div>

<div class="wrapper wrapper-shadow wrapper-list"> 
	<!-- list data wrapper -->
	<div class="result-wrapper no-padding">
   	<div class="result-body">
   		<div class="tabs">
      	<ul class="nav nav-tabs widget no-margin-bottom">
        	<li class="active"> 
         		<a href="#tab-content" data-toggle="tab"> 
         			<span class="menu-icon"><i class="fa fa-user-plus"></i></span> 使用情况
           	</a>
         	</li>
        </ul>
        <div class="tab-content no-border xs-padding">
					<div class="tab-pane active" id="tab-content">
           	<table data-ajax="handlerData" 
       					 	 data-method="post" 
       					 	 data-search="true" 
       					 	 data-pagination="true" 
       					 	 data-show-toggle="true" 
       					 	 data-show-refresh="true" 
       					 	 data-show-columns="true" 
       					 	 data-check-on-init="true" 
       					 	 data-click-to-select="true" 
       					 	 data-side-pagination="server" 
       					 	 data-mobile-responsive="true" 
           				 data-event-onload="handlerSuccess" id="table-usecase" class="bootstrap-table">
							<thead>
								<tr>
									<th data-checkbox="true"></th>
									<th data-field="center" 	data-align="center" >机构名称</th>
									<th data-field="customer" data-align="center" >客户数</th>
									<th data-field="member" 	data-align="center" >会员数</th>
									<th data-field="price" 		data-align="center" >签约金额</th>
								</tr>
							</thead>
						</table>
        	</div>
      	</div>
    	</div>
   	</div>
	</div>

	<!-- form editor wrapper -->
	<div class="editor-wrapper">
		
	</div>
</div>
<!-- PAGE CONTENT END =============================================== -->

<!-- Javascript ===================================================== -->
<script src="/miwawa/resources/lib/miwawa/1.0.2/js/core/requirejs/require.js"></script>

<script type="text/javascript">
<!--
	jQuery(function(){
		require(['/miwawa/resources/lib/miwawa/1.0.2/js/core/module/app/simple.js'], function(simple){
			simple(['registerForm','registerTable','registerWidget']);
		});
	});
	
	function handlerData(params){
		var _opts = {};
		if(typeof(params.data) == "string") {
			_opts = jQuery.parseJSON(params.data);
		}else{
			_opts = params.data;
		}
		
		jQuery.ajaxsend({
			url: "/miwawa/system/center/data/all.json",
			data: {
				"limit": _opts.limit,
				"offset": _opts.offset
			},
			success: function(data){
				params.success(data);
				params.complete();
			}
		});
	}
//-->
</script>
